package test.util;

import java.sql.DriverManager;


public class DBConnect extends icom.acm.util.DBConnect{
	@Override
	public void init() {
		try {
			Class.forName("com.mysql.jdbc.Driver").newInstance();
			final String url =  "jdbc:mysql://localhost/d_coding";
			this.conn = DriverManager.getConnection(url, "root",
					"root");
		} catch (final Exception e) {
			e.printStackTrace();
		}
	}

	public DBConnect() {
		try {
			this.init();
		} catch (final Exception e) {
			e.printStackTrace();
		}
	}
}

